package com.icid.store.controller
{
	import com.adobe.cairngorm.control.FrontController;
	import com.icid.store.command.GetCategoryListCommand;
	import com.icid.store.command.SetCategoryInfoCommand;
	import com.icid.store.command.TryDeleteCategoryCommand;

	public class CategoryController extends FrontController
	{
		public static const GET_CATEGORY_LIST:String 	= "getCategoryList";
		public static const SET_CATEGORY_INFO:String 	= "setCategoryInfo";
		public static const TRY_DELETE_CATEGORY:String	= "tryDeleteCategory";
		public function CategoryController()
		{
			super();
			addCommand(CategoryController.GET_CATEGORY_LIST,GetCategoryListCommand);
			addCommand(CategoryController.TRY_DELETE_CATEGORY,TryDeleteCategoryCommand);
			addCommand(CategoryController.SET_CATEGORY_INFO,SetCategoryInfoCommand);
		}
		
	}
}